public class test {
    public static void main(String[] args) {
        String url = "127.0.0.1:9200";
        System.out.println(url.split(":")[0]);
        System.out.println(url.split(":")[1]);
    }
}
